const obj: any = {a: 1}

console.log(Reflect.get(obj, 'a'))
Reflect.set(obj , 'b', 2)
console.log(Reflect.get(obj, 'b'))
